Xbasic

A5_CONTROL_CHANGE_IMAGE Function

Syntax

V a5_control_change_image(P obj )

Arguments

obj

A pointer to an image control on a form.

Description

The A5_CONTROL_CHANGE_IMAGE() function displays a dialog that allows you to select an image file for an image reference field.

Example

The following script was placed under a button on a form with an image reference field named Image1.

a5_control_change_image(parentform:Image1.this)

Limitations

Desktop applications only.

See Also